<!DOCTYPE html>

<html class="no-js">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script src="https://cdn.bootcss.com/axios/0.19.0-beta.1/axios.js"></script>
  <script src="https://cdn.bootcss.com/vue/2.5.17/vue.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.8.2/theme-chalk/index.css" />
  <script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.8.2/index.js"></script>
  <link rel="stylesheet" href="https://cdn.bootcss.com/animate.css/3.7.0/animate.min.css" />
  <link rel="stylesheet" href="../../../lib/index.css" />
  <script src="../../../lib/avue.js"></script>
  <style>
    .link {
      color: #409EFF;
      cursor: pointer;
      text-decoration: none;
    }
  </style>
</head>

<body>
  <div id="app">
    <avue-timeline pending>
      <avue-timeline-item>
        北京
      </avue-timeline-item>
      <avue-timeline-item color="green">
        长春
      </avue-timeline-item>
      <avue-timeline-item>
        到达呼伦贝尔
      </avue-timeline-item>
      <avue-timeline-item icon="el-icon-s-order">
        蒙古的草原
      </avue-timeline-item>
      <avue-timeline-item icon="el-icon-shopping-cart-2" color="green">
        满洲里，外面的俄罗斯是什么样子的世界？
      </avue-timeline-item>
      <avue-timeline-item>
        <a href="#" class="link">加载更多</a>
      </avue-timeline-item>
    </avue-timeline>
    <div style="height: 100px"></div>
    <avue-timeline pending time :time-width="200">
      <avue-timeline-item>
        北京
      </avue-timeline-item>
      <avue-timeline-item color="green">
        长春
      </avue-timeline-item>
      <avue-timeline-item>
        <div slot="time">2012-12-23</div>
        <div slot="content">到达呼伦贝尔</div>
      </avue-timeline-item>
      <avue-timeline-item icon="el-icon-wallet">
        <div slot="time">
          <p>2012-12-23</p>
          <p>天气晴</p>
        </div>
        <div slot="content">蒙古的草原</div>
      </avue-timeline-item>
      <avue-timeline-item icon="el-icon-shopping-cart-2" color="green">
        <div slot="time">
          <p>2012-12-23</p>
          <p>小雨</p>
        </div>
        <div slot="content">
          <h3>春夜洛城闻笛</h3>
          <p>谁家玉笛暗飞声</p>
          <p>散入春风满洛城</p>
          <p>此夜曲中闻折柳</p>
          <p>何人不起故园情</p>
        </div>
      </avue-timeline-item>
      <avue-timeline-item>
        <a href="#" class="link">加载更多</a>
      </avue-timeline-item>
    </avue-timeline>
  </div>
</body>
<script>
  new Vue({
    el: '#app'
  })
</script>

</html>